﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace GameName1
{
    class WeaponReady : WeaponState
    {
        public WeaponReady(IWeapon weapon)
        {
            //this.weapon = weapon;
        }
        public override void Fire(IWeapon weapon, Projectile p)
        {
            weapon.Notify(p);
            weapon.setState(new WeaponReloading(weapon));
        }
    }
}
